from django.db import models
# from users.models import User

#1,美多qq用户模型类
from meixixi.utils.my_model import BaseModel


class OAuthQQUser(BaseModel):
    user = models.ForeignKey("users.User",on_delete=models.CASCADE,verbose_name="美多用户")
    open_id = models.CharField(max_length=64,unique=True,verbose_name="qq用户id")

    class Meta:
        db_table = "tb_qq_users"